﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>

<script type="text/javascript">
    function mysubmit() {
        var wftype_name = $("#wftype_name").val();
        $.ajax({
            url: "/WorkFlow/DoWFTypeAdd",
            type: "POST",
            data: { "wftype_name": wftype_name },
            success: function(data) {
                $("#workarea").html(data);
            }
        })
    }
</script>

<div id="wftypeadd">
    类型名称：<%=Html.TextBox("wftype_name")%>
    <br />
    <input type="button" onclick="mysubmit()" value="确定" />
</div>
